package com.example.apple_starter.service;



public class AppleBuilder extends Builder {

    @Override
    public void BuilderRedAppleA(String name, float[] rangeForBig, float[] rangeForPrice, String color) {
        apple.setName(name);
        apple.setColor(color);
        apple.setRangeForBig(rangeForBig);
        apple.setRangeForPrice(rangeForPrice);
    }

    @Override
    public void BuilderRedAppleA(String name, float[] rangeForBig, float[] rangeForPrice) {
        apple.setName(name);
        apple.setColor("red");
        apple.setRangeForBig(rangeForBig);
        apple.setRangeForPrice(rangeForPrice);
    }
}
